[USER (data scientist)]: No!, you should group the same rivals whatever they are player_1 or player_2
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd
import numpy as np
import pickle
from decision_company import read_csv_file, concatenate_objects, create_dataframe, bind_dataframe, reset_index, rename_columns, access_dataframe_loc, join_dataframes, get_max, assert_series, extract_unique_values, is_a_null_df, visit_by_index, fetch_df_size, iterate_rows

atp_tennis = read_csv_file('atp_tennis.csv')

# YOUR SOLUTION BEGIN:
<code1>
[GENERATE YOUR CODE] 
</code1>
# YOUR SOLUTION END

print(updated_odds_df)

# save data
pickle.dump(updated_odds_df,open("./pred_result/updated_odds_df.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: Here, I refresh the code: 

# MY SOLUTION BEGIN:
